/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.guilayer.sprites.key;

/**
 * @author Massimo Canonaco
 *
 */
public class TextureFrameKey extends AbstractFrameKey {

	/** */
	private int textureID;
	
	/* (non-Javadoc)
	 * @see it.unical.canonaco.rende.igpe.game.cbv.guilayer.sprites.key.AbstractFrameKey#getKey()
	 */
	@Override
	public String getKey() 
	{
		return String.valueOf(textureID);
	}

	/* (non-Javadoc)
	 * @see it.unical.canonaco.rende.igpe.game.cbv.guilayer.sprites.key.AbstractFrameKey#getCopy()
	 */
	@Override
	public AbstractFrameKey getCopy() 
	{
		TextureFrameKey tfk = new TextureFrameKey();
		tfk.textureID = textureID;
		return tfk;
	}

	/**
	 * @param textureID the textureID to set
	 */
	public void setTextureID(int textureID) {
		this.textureID = textureID;
	}

}
